Optimal. Leaf size=59 \[ \frac{(c x)^{m+1} \left (a+b x^n\right )^{p+1} \, _2F_1\left (1,\frac{m+1}{n}+p+1;\frac{m+n+1}{n};-\frac{b x^n}{a}\right )}{a c (m+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0234132, antiderivative size = 67, normalized size of antiderivative = 1.14, number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133, Rules used = {365, 364} \[ \frac{(c x)^{m+1} \left (a+b x^n\right )^p \left (\frac{b x^n}{a}+1\right )^{-p} \, _2F_1\left (\frac{m+1}{n},-p;\frac{m+n+1}{n};-\frac{b x^n}{a}\right )}{c (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 365
Rule 364
Rubi steps
\begin{align*} \int (c x)^m \left (a+b x^n\right )^p \, dx &=\left (\left (a+b x^n\right )^p \left (1+\frac{b x^n}{a}\right )^{-p}\right ) \int (c x)^m \left (1+\frac{b x^n}{a}\right )^p \, dx\\ &=\frac{(c x)^{1+m} \left (a+b x^n\right )^p \left (1+\frac{b x^n}{a}\right )^{-p} \, _2F_1\left (\frac{1+m}{n},-p;\frac{1+m+n}{n};-\frac{b x^n}{a}\right )}{c (1+m)}\\ \end{align*}
Mathematica [A] time = 0.0161758, size = 64, normalized size = 1.08 \[ \frac{x (c x)^m \left (a+b x^n\right )^p \left (\frac{b x^n}{a}+1\right )^{-p} \, _2F_1\left (\frac{m+1}{n},-p;\frac{m+1}{n}+1;-\frac{b x^n}{a}\right )}{m+1} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.078, size = 0, normalized size = 0. \begin{align*} \int \left ( cx \right ) ^{m} \left ( a+b{x}^{n} \right ) ^{p}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b x^{n} + a\right )}^{p} \left (c x\right )^{m}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (b x^{n} + a\right )}^{p} \left (c x\right )^{m}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] time = 9.99296, size = 58, normalized size = 0.98 \begin{align*} \frac{a^{p} c^{m} x x^{m} \Gamma \left (\frac{m}{n} + \frac{1}{n}\right ){{}_{2}F_{1}\left (\begin{matrix} - p, \frac{m}{n} + \frac{1}{n} \\ \frac{m}{n} + 1 + \frac{1}{n} \end{matrix}\middle |{\frac{b x^{n} e^{i \pi }}{a}} \right )}}{n \Gamma \left (\frac{m}{n} + 1 + \frac{1}{n}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b x^{n} + a\right )}^{p} \left (c x\right )^{m}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]